package cn.gs.system.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author gs
 * @date 2020/1/9
 */

@Data
@Table(name = "tb_user")
public class User  {
    @Id
    private Long id;

    private String username;

    private String password;

    private String salt;
    @Column(name = "dept_id")
    private String deptId;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "modify_time")
    private Date modifyTime;

    private String avatar;

    private Long phone;

    private String sex;

    private String description;

    private Boolean status;




}
